//
//  Function07_VC.m
//  Hwi_Library_Demo
//
//  Created by Jeonghwi Kim on 13. 7. 9..
//  Copyright (c) 2013년 KDML. All rights reserved.
//

#import "Function07_VC.h"

@implementation Function07_VC

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}
- (IBAction)on_back_btn:(id)sender
{
    [self.navigationController popViewControllerAnimated:YES];
}

-(void)hwi07_did_update_location:(CLLocationManager *)manager locations:(NSArray *)locations latitude:(NSString *)lat lon:(NSString *)lon address:(NSString *)address
{

    self.label01_latitude.text = lat;
    self.label02_longitude.text = lon;
    self.label03_address_reverse_geocode.text = address;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.hwi = [Hwi get_instance];
    [self.hwi hwi07_get_current_location_with_callback:self];


}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
